package com.xql.framework.action;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by apple on 15/3/22.
 */
public class ActionMapping {
    private String name;
    private String actionClass;
    private String method;
    private Map<String,Result> resultMap = new HashMap<String,Result>();
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getActionClass() {
        return actionClass;
    }

    public void setActionClass(String actionClass) {
        this.actionClass = actionClass;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }
    public void addResult(String name,Result result){
        this.resultMap.put(name,result);
    }
    public Result getResult(String name){
        return this.resultMap.get(name);
    }


}
